package com.wushi.lenovo.asia5b.app_event;

import com.mvp.base.BaseApplication;
import com.wushi.lenovo.asia5b.app_config.ShopRepository;
import com.wushi.lenovo.asia5b.app_ui.shopcar.activity.ShopCarActivity;

/**
 * Created by zhangyuncai on 2020/3/17.
 * 添加购物车通知
 */
public class AddShopCarEvent {
    public AddShopCarEvent() {
        if (!BaseApplication.hasActivity(ShopCarActivity.class)) {
            ShopRepository.updateShopCount();
        }
    }
}
